package com.lmxdawn.api.dnf.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_withdraw_account")
public class WithdrawAccount {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String userId;
    
    private String account;
    
    private String accountType; // ALIPAY,WECHAT

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String createBy;
}